/*! fancyboxSpin v2.1.5 fancyapps.com | fancyapps.com/fancyboxSpin/#license */
/*Theme fixes*/

.fancyboxSpin {
	z-index: 99999999999999999999999999999999;
}

.fancyboxSpin-skin {
background:rgba(255, 255, 255, 0.01) !important;
}

.fancyboxSpin-overlay {
	background:rgba(0, 0, 0, 0.5) !important;
}

.fancyboxSpin-opened .fancyboxSpin-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.01) !important;
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.01) !important;
	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.01) !important;
}


.fancyboxSpin-wrap,
.fancyboxSpin-skin,
.fancyboxSpin-outer,
.fancyboxSpin-inner,
.fancyboxSpin-image,
.fancyboxSpin-wrap iframe,
.fancyboxSpin-wrap object,
.fancyboxSpin-nav,
.fancyboxSpin-nav span,
.fancyboxSpin-tmp
{
	padding: 0;
	margin: 0;
	border: 0;
	outline: none;
	vertical-align: top;
}

.fancyboxSpin-wrap {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99998020;
}

.fancyboxSpin-skin {
	position: relative;
	background: #f9f9f9;
	color: #444;
	text-shadow: none;
/*	-webkit-border-radius: 4px;
	   -moz-border-radius: 4px;
	        border-radius: 4px;*/
}

.fancyboxSpin-opened {
	z-index: 99998030;
}

.fancyboxSpin-opened .fancyboxSpin-skin {
	-webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	   -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
	        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancyboxSpin-outer, .fancyboxSpin-inner {
	position: relative;
}

.fancyboxSpin-inner {
	overflow: auto !important;
}

.fancyboxSpin-type-iframe .fancyboxSpin-inner {
/*	-webkit-overflow-scrolling: touch;*/ /* commented out to try to fix the scrollbar issue */
}

.fancyboxSpin-error {
	color: #444;
	font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	margin: 0;
	padding: 15px;
	white-space: nowrap;
}

.fancyboxSpin-image, .fancyboxSpin-iframe {
	display: block;
	width: 100%;
	height: 100%;
}

.fancyboxSpin-image {
	max-width: 100%;
	max-height: 100%;
}

#fancyboxSpin-loading, .fancyboxSpin-close-pop, .fancyboxSpin-prev span, .fancyboxSpin-next span {
	background-image: url('fancybox_sprite.png');
}

#fancyboxSpin-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	margin-top: -22px;
	margin-left: -22px;
	background-position: 0 -108px;
	opacity: 0.8;
	cursor: pointer;
	z-index: 99998060;
        display: none !important;   /*removes loading screen*/
}

#fancyboxSpin-loading div {
/*	width: 44px;
	height: 44px;
	background: url('fancyboxSpin_loading.gif') center center no-repeat;*/
        width: 0px;  /*removes loading screen*/
	height: 0px;  /*removes loading screen*/
        display: none !important;  /*removes loading screen*/
}

.fancyboxSpin-close-pop {
	position: absolute;
	top: 0;
	right: 40%;
	width: 36px;
	height: 36px;
	cursor: pointer;
	z-index: 99998040;
}

.fancyboxSpin-nav {
	position: absolute;
	top: 0;
	width: 40%;
	height: 100%;
	cursor: pointer;
	text-decoration: none;
	background: transparent url('blank.gif'); /* helps IE */
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	z-index: 99998040;
}

.fancyboxSpin-prev {
	left: 0;
}

.fancyboxSpin-next {
	right: 0;
}

.fancyboxSpin-nav span {
	position: absolute;
	top: 50%;
	width: 36px;
	height: 34px;
	margin-top: -18px;
	cursor: pointer;
	z-index: 99998040;
	visibility: hidden;
}

.fancyboxSpin-prev span {
	left: 10px;
	background-position: 0 -36px;
}

.fancyboxSpin-next span {
	right: 10px;
	background-position: 0 -72px;
}

.fancyboxSpin-nav:hover span {
	visibility: visible;
}

.fancyboxSpin-tmp {
	position: absolute;
	top: -99999px;
	left: -99999px;
	visibility: hidden;
	max-width: 99999px;
	max-height: 99999px;
	overflow: visible !important;
}

/* Overlay helper */

.fancyboxSpin-lock {
    overflow: hidden !important;
    width: auto;
}

.fancyboxSpin-lock body {
    overflow: hidden !important;
}

.fancyboxSpin-lock-test {
    overflow-y: hidden !important;
}

.fancyboxSpin-overlay {
	position: absolute;
	top: 0;
	left: 0;
	overflow: hidden;
	display: none;
	z-index: 99998010;
	background: url('fancybox_overlay.png');
}

.fancyboxSpin-overlay-fixed {
	position: fixed;
	bottom: 0;
	right: 0;
}

.fancyboxSpin-lock .fancyboxSpin-overlay {
	overflow: auto; 
	overflow-y: scroll;
	position: fixed; /*added for iPhone lock*/

	/* changed from auto to hidden to try to fix the scrollbar issue */
/*	overflow-y: scroll;*/ /* commented out to try to fix the scrollbar issue */
}

/* Title helper */

.fancyboxSpin-title {
	visibility: hidden;
	font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
	position: relative;
	text-shadow: none;
	z-index: 99998050;
}

.fancyboxSpin-opened .fancyboxSpin-title {
	visibility: visible;
}

.fancyboxSpin-title-float-wrap {
	position: absolute;
	bottom: 0;
	right: 50%;
	margin-bottom: -35px;
	z-index: 99998050;
	text-align: center;
}

.fancyboxSpin-title-float-wrap .child {
	display: inline-block;
	margin-right: -100%;
	padding: 2px 20px;
	background: transparent; /* Fallback for web browsers that doesn't support RGBa */
	background: rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 15px;
	   -moz-border-radius: 15px;
	        border-radius: 15px;
	text-shadow: 0 1px 2px #222;
	color: #FFF;
	font-weight: bold;
	line-height: 24px;
	white-space: nowrap;
}

.fancyboxSpin-title-outside-wrap {
	position: relative;
	margin-top: 10px;
	color: #fff;
}

.fancyboxSpin-title-inside-wrap {
	padding-top: 10px;
}

.fancyboxSpin-title-over-wrap {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #fff;
	padding: 10px;
	background: #000;
	background: rgba(0, 0, 0, .8);
}

/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){

	#fancyboxSpin-loading, .fancyboxSpin-close-pop, .fancyboxSpin-prev span, .fancyboxSpin-next span {
		background-image: url('fancybox_sprite@2x.png');
		background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
	}

	#fancyboxSpin-loading div {
/*		background-image: url('fancyboxSpin_loading@2x.gif');*/ /*removes loading screen*/
		background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
	}
}